package cn.ainit.sys.framework.save;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class ReceiveOtM {
	/***
	 * v 2.0.0 用于一对多数据的接收
	 * omObj = {"diu":"0","dsId":dsid,"sinId":sinId,"pkName":pkName,"sameDsid":sameDsid,"fkName":fkName,"rows":allRows};
	 */
	
	private String diu;
	
	private String sinId;
	
	private String pkName;
	
	private String fkName;
	
	private String dsId; //  本表的dsid
	
	private String columnName; // 本字段的name
	
	private String djdsid; //关联的dsid
	
	private String sameDsid; //用于一对多表中的dsid
	
	List<Map<String, Object>> rows = new ArrayList<Map<String,Object>>();

	
	public String getSameDsid() {
		return sameDsid;
	}

	public void setSameDsid(String sameDsid) {
		this.sameDsid = sameDsid;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getDjdsid() {
		return djdsid;
	}

	public void setDjdsid(String djdsid) {
		this.djdsid = djdsid;
	}

	public String getDsId() {
		return dsId;
	}

	public void setDsId(String dsId) {
		this.dsId = dsId;
	}

	public String getDiu() {
		return diu;
	}

	public void setDiu(String diu) {
		this.diu = diu;
	}

	public String getSinId() {
		return sinId;
	}

	public void setSinId(String sinId) {
		this.sinId = sinId;
	}

	public String getPkName() {
		return pkName;
	}

	public void setPkName(String pkName) {
		this.pkName = pkName;
	}

	public String getFkName() {
		return fkName;
	}

	public void setFkName(String fkName) {
		this.fkName = fkName;
	}

	public List<Map<String, Object>> getRows() {
		return rows;
	}

	public void setRows(List<Map<String, Object>> rows) {
		this.rows = rows;
	}
	
	
	
	

}
